@media screen and (width:375px) {
    html {
        font-size: 18.75px;
    }
}
@media screen and (width:750px) {
    html {
        font-size: 37.5px;
    }
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.clearfix::before,
.clearfix::after {
    content: "";
    display: block;
    height: 0;
    line-height: 0px;
    clear: both;
    visibility: hidden;
}
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}
.coupon-title {
    height: 100%;
    overflow: hidden;
}
ul {
    list-style: none;
}
header {
    height: 50px;
    background: #ff841d;
    box-sizing: border-box;
    display: flex;
    h4 {
        flex: 1;
        padding-left: 10px;
        font-size: 18px;
        font-weight: 500;
        padding-top: 10px;
    }
}
.coupon-title {
    background: #fff;
    .bcj-head-cat {
        height: 38px;
        border-bottom: 5px solid #f7f7f7;
        .bcj-title {
            overflow: hidden;
            .tabs {
                list-style: none;
                margin: 0;
                padding: 0;
                box-sizing: content-box;
                li {
                    float: left;
                    padding: 5px;
                    a {
                        display: block;
                        font-size: 14px;
                        color: #333;
                    }
                }
                .active {
                    background: #fff;
                    border-bottom: 3px solid #e4393c;
                }
            }
        }
        .searchbtn {
            position: fixed;
            top: 50px;
            right: 0;
            border-left: 1px solid #ccc;
            float: right;
            background: #fff;
            width: 38px;
            height: 38px;
            i {
                font-size: 18px;
                text-align: center;
                margin-top: 12px;
                margin-left: 10px;
                color: #666;
            }
        }
    }
    .bcj-list {
        height: 700px;
        overflow: hidden;
        ul {
            padding: 0;
            position: absolute;
            .ui-border-tb {
                width: 100%;
                height: 150px;
                display: flex;
                .pic {
                    flex: 2;
                    width: 135px;
                    height: 130px;
                    border: 1px solid #ccc;
                    margin-right: 5px;
                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
                .inf {
                    flex:3;
                    height: 66px;
                    width: calc(100% - 135px);
                    .i {
                        margin-bottom: 10px;
                        .t {
                            font-size: 14px;
                            margin-bottom: 12px;
                        }
                        .pr {
                            font-size: 24px;
                            color: #fc353a;
                            i {
                                font-size: 16px;
                                vertical-align: middle;
                                font-style: normal;
                                margin-right: 4px;
                            }
                            em {
                                font-size: 12px;
                                vertical-align: middle;
                                font-style: normal;
                                padding-right: 3px;
                            }
                            del {
                                text-decoration: line-through;
                                font-size: 13px;
                                color: #a8a8a8;
                                margin-left: 12px;
                                vertical-align: middle;
                            }
                        }
                    }
                    .o {
                        .bar {
                            width: 100%;
                            i {
                                float: left;
                                width: 82px;
                                height: 14px;
                                background: #ffb7b7;
                                border-radius: 7px;
                                margin-right: 15px;
                                margin-top: 3px;
                                span {
                                    display: block;
                                    height: 14px;
                                    line-height: 14px;
                                    text-align: center;
                                }
                            }
                            b {
                                font-size: 12px;
                                width: 55px;
                                height: 16px;
                                color: #fc353a;
                            }
                        }
                        .b {
                            margin-top: 10px;
                            .q {
                                float: left;
                                margin-right: 20px;
                                a {
                                    display: block;
                                    font-weight: normal;
                                    font-size: 12px;
                                    color: #999999;
                                    vertical-align: middle;
                                    margin-left: 10px;
                                    color: #fc353a;
                                    width: 110px;
                                    height: 26px;
                                    border: 1px dashed #fc353a;
                                    text-align: center;
                                }
                            }
                            .g {
                                float: left;
                                a {
                                    display: block;
                                    color: #fff;
                                    background: #fc353a;
                                    width: 58px;
                                    height: 28px;
                                    line-height: 28px;
                                    font-size: 12px;
                                    text-align: center;
                                    border-radius: 5px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
